var theRight = document.getElementsByClassName("theImg");
var theASD = document.getElementsByClassName("asd");
var theAS = document.getElementsByClassName("as")[0];
var a = false;
for(var i = 0; i < theRight.length; i++) {
	theRight[i].ind = i;
	theRight[i].onclick = function() {
		theAS.style.display = "none"
//	     for(var j=0;j<theASD.length;j++){
	     		theASD[this.ind].style.display = "block"
//	     }
	     

	}

}